/**
 * Created by IntelliJ IDEA.
 * User: akolonitsky
 * Date: 11/24/11
 * Time: 11:53 AM
 * To change this template use File | Settings | File Templates.
 */
package constants {

/**
 *  Startup logic.
 *
 *  --------------------------------------------------------------------------
 *   1      | 2      | 3    |
 *   SIGNIN | SIGNUP | AUTH |
 *  --------------------------------------------------------------------------
 *   0      | 0      | 0    | Authorization problem
 *   0      | 1      | 0    | User must be registred
 *   1      | 0      | 0    | User must be logined.
 *   1      | 1      | 0    | Input paramer error message. Only one dialog can be displayed.
 *          |        |      | registration form displayed.
 *   0      | 0      | 1    | Authorization success. If this flag is set SIGNIN
 *          |        |      | and SIGNUP flags are ignored (and cleared)
 */
public class LoadingFlags
{
    public static const USER_SIGNIN:uint = 1 << 1;
    public static const USER_SINGUP:uint = 1 << 2;
    public static const USER_AUTHORIZED:uint = 1 << 3;

    public static const READY:uint = USER_AUTHORIZED;
}
}
